package com.ly.mpayment.persist.service.errorcode;

import java.util.Map;

import com.ly.mpayment.persist.entity.ErrorCode;
import com.ly.mpayment.persist.hibernate.Page;

/**
 * 
 * 
 *
 */
public interface IErrorCodeService {

	public boolean addErrorCode(ErrorCode code);
	
	public boolean updateErrorCode(ErrorCode code);
	
	public ErrorCode findById(String id);
	
	public Page<ErrorCode> findPageErrorCode(Map<String, Object> parameters,int start,int pageSize);

	public ErrorCode findErrorCode(String resultcode);
	
}
